package online.heycm.excel.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author hey
 * @version 1.0
 * @since 2024/8/18 14:56
 */
@Data
public class UserExcelDTO {

    @ExcelProperty("用户ID")
    private Integer id;

    @ExcelProperty("姓名")
    private String userName;

    @ExcelProperty("手机")
    private String phoneId;

    @ExcelProperty("昵称")
    private String nickName;

    @ExcelProperty("头像")
    private String avatar;

    @ExcelProperty("注册时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
